/* Reset styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(to right, #e9eeec, #f68b8b); /* 从左到右的渐变 */
  /* 或者 */
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.container {
  text-align: center;
  width: 600px;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.logo {
  margin-bottom: 10px;
  img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
  }
}

.logo-text {
  font-size: 2.5rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.5); /* 白色，透明度为0.8 */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* 添加阴影 */
  font-family: 'Great Vibes', cursive; /* 使用艺术字体，这里以Great Vibes为例 */
}
.subtitle {
  font-size: 1rem;
  color: #777;
}

.chat-display {
  background:rgba(255, 255, 255, 0.5); 
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  height: 350px; /* 高度调整为 250px */
  width: 600px;
  overflow-y: auto;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.message {
  margin: 10px 0;
}

.user-message {
  text-align: right;
  color: #6c6d6c;
  font-weight: bold;
}

.server-message {
  text-align: left;
  color: #333;
}

.input-section {
  display: flex;
  gap: 10px;
  align-items: center;
}

.input-box {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  font-size: 1rem;
  outline: none;
}

.search-btn {
  background-color: #5078ff;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 15px;
  font-size: 1rem;
  cursor: pointer;
}

.search-btn:hover {
  background-color: #4068d8;
}
.input-section {
  display: flex;
  align-items: center;
  gap: 10px; /* 输入框和按钮之间的间距 */
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.file-icon {
  position: absolute;
  left: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.file-icon img {
  width: 20px; /* 图标宽度 */
  height: 20px; /* 图标高度 */
}

.file-upload {
  display: none; /* 隐藏默认文件选择按钮 */
}

.input-box {
  width: 100%;
  padding: 10px 10px 10px 40px; /* 为左侧图标留出空间 */
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.search-btn {
  padding: 10px 20px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.search-btn:hover {
  background-color: #45a049;
}
  /* 返回按钮的样式 */
  .back-button {
    position: fixed; /* 固定在页面上 */
    top: 10px;
    left: 10px;
  }

  .back-btn {
    padding: 8px 16px;
    font-size: 16px;
    color: rgb(7, 7, 7);
    background-color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .back-btn:hover {
    background-color: #f68b8b;
  }